home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(14239);
- script_version ("$Revision: 1.6 $");
- script_cve_id("CAN-2004-0178", "CAN-2004-0415", "CAN-2004-0447", "CAN-2004-0535", "CAN-2004-0587");
-
- name["english"] = "RHSA-2004-413: kernel";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated kernel packages that fix several security issues in Red Hat
- Enterprise Linux 3 are now available.
-
- The Linux kernel handles the basic functions of the operating system.
-
- Paul Starzetz discovered flaws in the Linux kernel when handling file
- offset pointers. These consist of invalid conversions of 64 to 32-bit file
- offset pointers and possible race conditions. A local unprivileged user
- could make use of these flaws to access large portions of kernel memory.
- The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the name CAN-2004-0415 to this issue.
-
- These packages contain a patch written by Al Viro to correct these flaws.
- Red Hat would like to thank iSEC Security Research for disclosing this
- issue and a number of vendor-sec participants for reviewing and working on
- the patch to this issue.
-
- In addition, these packages correct a number of minor security issues:
-
- An bug in the e1000 network driver. This bug could be used by local users
- to leak small amounts of kernel memory (CAN-2004-0535).
-
- A bug in the SoundBlaster 16 code which does not properly handle certain
- sample sizes. This flaw could be used by local users to crash a system
- (CAN-2004-0178).
-
- A possible NULL-pointer dereference in the Linux kernel prior to 2.4.26 on
- the Itanium platform could allow a local user to crash a system
- (CAN-2004-0447).
-
- Inappropriate permissions on /proc/scsi/qla2300/HbaApiNode (CAN-2004-0587).
-
- All Red Hat Enterprise Linux 3 users are advised to upgrade their
- kernels to the packages associated with their machine architectures
- and configurations as listed in this erratum.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2004-413.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the kernel packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"kernel-BOOT-2.4.21-15.0.4.EL", release:"RHEL3") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"kernel-doc-2.4.21-15.0.4.EL", release:"RHEL3") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"kernel-source-2.4.21-15.0.4.EL", release:"RHEL3") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"kernel-", release:"RHEL3") )
- {
- set_kb_item(name:"CAN-2004-0178", value:TRUE);
- set_kb_item(name:"CAN-2004-0415", value:TRUE);
- set_kb_item(name:"CAN-2004-0447", value:TRUE);
- set_kb_item(name:"CAN-2004-0535", value:TRUE);
- set_kb_item(name:"CAN-2004-0587", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2004-413", value:TRUE);
-